import Vue from 'vue'
import './plugins/axios'
import App from './App.vue'
import router from './router'
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import Axios from 'axios';
Vue.config.productionTip = false;

Vue.use(Antd);

Vue.config.productionTip = false

Axios.defaults.withCredentials = true; //让ajax携带cookie
Vue.prototype.$http = Axios;

Vue.prototype.$eventbus = new Vue();

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
